﻿using System;
using System.ComponentModel.DataAnnotations;

namespace JinRi.Services.Domains
{
    [Serializable]
    public class News : Domain
    {
        [Required]
        [StringLength(4000)]
        public string Title { get; set; }
        /// <summary>
        /// 0:新闻,1:公告
        /// </summary>
        public int Category { get; set; }

        [Required]
        public string Content { get; set; }
    }
}